Skip to content

Update React dependencies with abp update - #25990

Merged
salihozkara merged 1 commit into
rel-10.7from
enisn/task-1566-update-react-dependencies
Aug 14, 2026
Merged

Update React dependencies with abp update#25990
salihozkara merged 1 commit into
rel-10.7from
enisn/task-1566-update-react-dependencies

Conversation

@enisn

@enisn enisn commented Aug 14, 2026

Copy link
Copy Markdown
Member

Description

Implements Volobox task 1566.

abp update already updates ABP-scoped dependencies in discovered package.json files, but standalone React projects were excluded because package discovery only recognized .NET and Angular project markers.

This change:

  • recognizes the vite.config.ts marker used by the ABP Studio React and React Admin Console templates
  • recognizes the next.config.ts marker used by the React Public Web templates
  • adds regression coverage for .NET, Angular, Vite, Next.js, and unmarked package manifests

No ABP Studio template change is required. The current ModernTemplates already contain these markers and use supported @volo/* dependencies.

Checklist

  • I fully tested it as developer / designer and created unit / integration tests
  • I documented it (no documentation change is needed)

How to test it?

  1. Create an ABP solution with a React UI from ABP Studio.
  2. Set one of the generated @volo/* dependencies to an older version.
  3. Run abp update --npm from the solution directory.
  4. Verify that the React package.json dependency is updated.

Automated validation:

  • focused PackageJsonFileFinder_Tests: 5 passed
  • complete Volo.Abp.Cli.Core.Tests: 95 passed

@enisn enisn added bug abp-cli ui-common Issues that has an effect on multiple frontends such as shared packages and common problems .NET Pull requests that update .net code labels Aug 14, 2026
@enisn
enisn requested review from salihozkara and yekalkan August 14, 2026 11:44
@enisn enisn added this to the 10.7-final milestone Aug 14, 2026
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.80%. Comparing base (be0c29b) to head (b9f10fc).
⚠️ Report is 180 commits behind head on rel-10.7.

Additional details and impacted files
@@             Coverage Diff              @@
##           rel-10.7   #25990      +/-   ##
============================================
+ Coverage     48.77%   48.80%   +0.02%     
============================================
  Files          3804     3804              
  Lines        132231   132233       +2     
  Branches      10027    10027              
============================================
+ Hits          64499    64535      +36     
+ Misses        65809    65772      -37     
- Partials       1923     1926       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@salihozkara
salihozkara merged commit 14cb610 into rel-10.7 Aug 14, 2026
4 checks passed
@salihozkara
salihozkara deleted the enisn/task-1566-update-react-dependencies branch August 14, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

abp-cli bug .NET Pull requests that update .net code ui-common Issues that has an effect on multiple frontends such as shared packages and common problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants